package com.sunop.userservice.controller;


import com.sunop.panticommon.entity.Result;
import com.sunop.userservice.service.SignInService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/signIn")
public class SignInController {

    @Autowired
    private SignInService signInService;

    // 用户签到
    @PostMapping()
    public Result signIn() {
        signInService.signIn();
        return Result.success(null,"Sign in successful!");
    }
}